Notes:

- Routine resides at $4285 in memory from the MAX.BIN file. Original code is for the ColorWare HIRES adaptor.
When choosing the Tandy adaptor using the CONFIG.BAS, it does patch on the fly the code at same address.
$FED0 memory address contains 0 or 1. 0 means to patch for Tandy, 1 means original Colorware adaptor
This is set in BASIC in the CONFIG.BAS that generates the MAX.BAS loader.
We'll use $FED0 = 0, to load the sub-routine for software HIRES.

- Patch routine resides at $04D2 in memory that checks the value at $FED0
Code is taken at $0600 in memory. All this comes from MAX.BIN

- Patching MAX.BIN code that loads at $10600 to jump to a small sub-routine for the software HIRES code
- HIRES code will resides at $7D00
- Removed the choice for interface in CONFIG.BAS
- It uses 640x200 resolution
- Values for X (16-bits),Y (8-bits) and Button (8-bit) are stored in $4000-$4001,$4002 and $4003 respectively.

Feel free to comment for any improvement.

Have fun!
Patrick